package com.org.service;

import com.org.entity.BackupCollectItems;
import com.org.entity.BackupSearchItems;

import java.time.LocalDateTime;

public interface BackupService {

    /**
     * 新增失物招领信息备份
     */
    void addCollectItems(BackupCollectItems backupCollectItems);

    /**
     * 新增寻物启事信息备份
     */
    void addSearchItems(BackupSearchItems backupSearchItems);

    /**
     * 删除所有备份信息
     */
    void deleteAll(LocalDateTime time);
}
